using System;
using System.Windows.Input;

namespace Samurai.Client.Commands
{
    public class ShowRepositoryCommand : ICommand
    {

        public bool CanExecute(object parameter)
        {
            return true;
        }

        public event EventHandler CanExecuteChanged;

        public void Execute(object parameter)
        {
            var repositoryWindow = new Windows.RepositoryWindow();
            repositoryWindow.ShowDialog();
        }
    }
}